#include <stdio.h>
int main(int argc, char const *argv[])
{
    char a = 10;
    short b = 10;
    int c = 10;
    long int d = 10;
    long e = 10;
    long long f = 10;
    float g = 10.1;
    double h = 10.1;
    long double i = 10.1;

    printf("adress of a:%p\n", &a);//字符型地址
    printf("adress of b:%p\n", &b);//短整型地址
    printf("adress of c:%p\n", &c);//整型地址
    printf("adress of d:%p\n", &d);//长整型地址
    printf("adress of e:%p\n", &e);//长整形地址
    printf("adress of f:%p\n", &f);//长长整型地址
    printf("adress of g:%p\n", &g);//单精度浮点型地址
    printf("adress of h:%p\n", &h);//双精度浮点型地址
    printf("adress of i:%p", &i);//长浮点型地址

    return 0;
}
